#include <eventloop/Eventloop.h>
#include <thread/Thread.h>

#include <stdio.h>


Eventloop* g_loop;

void threadFunc()
{
	g_loop->loop();
}

int main(void)
{
	Eventloop loop;
	g_loop = &loop;
	Thread t(threadFunc);
	t.start();
	t.join();
	return 0;
}

